using System.Runtime.Serialization;
using StockholmsStad.Runtime.Serialization.DataContract.Enums;

namespace StockholmsStad.Runtime.Serialization.DataContract
{
    [DataContract]
    public class Person : PersonDetails
    {
        [DataMember]
        public int PersonId { get; set; }

        [DataMember]
        public bool SwedishNationality { get; set; }

        [DataMember]
        public string Nationality { get; set; }

        [DataMember]
        public Sex? Sex { get; set; }

        [DataMember]
        public string PersonalNumber { get; set; }

        [DataMember]
        public string PhoneNumber { get; set; }

        [DataMember]
        public string CellPhoneNumber { get; set; }

        [DataMember]
        public bool ProtectedIdentity { get; set; }

        [DataMember]
        public Address Address { get; set; }

        [DataMember]
        public bool Representative { get; set; }
    }
}